package com.jml.mapper;

import com.jml.entity.UserEntity;
import java.util.List;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

public interface UserMapper {

    public UserEntity getUser(int id);

}

/*
@CacheNamespace(implementation = MybatisRedisCache.class)
public interface OrderMapper {
    @Insert("insert order_info values (null,#{orderName},#{orderDes})")
    public int addOrder(OrderEntity OrderEntity);

    @Select("SELECT * FROM order_info;")
    public List<OrderEntity> findByOrder();
}*/
